#include "../include/staticshape.h"

StaticShape::StaticShape(StaticShape::Shape_Type t, int x, int y, int w, int h)
{
    myType = t;
    myX = x;
    myY = y;
    myW = w;
    myH = h;
}

StaticShape::~StaticShape()
{
    //dtor
}

void StaticShape::Draw(SDL_Surface* screen) const
{
    if(myType == StaticShape::Circle)
    {

    }

    //Draw a rectangle
    else if(myType == StaticShape::Rectangle)
    {

        boxRGBA(screen, myX, myY, (myX+myW),(myY+myH),255,0,0,255);

    }

    else if(myType == StaticShape::Line)
    {

    }
}

